<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>提现提醒管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/withdrawcashremind/withdrawCashRemind/">提现提醒列表</a></li>
		<shiro:hasPermission name="withdrawcashremind:withdrawCashRemind:edit"><li><a href="${ctx}/withdrawcashremind/withdrawCashRemind/form">提现提醒添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="withdrawCashRemind" action="${ctx}/withdrawcashremind/withdrawCashRemind/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
        <li><label>用户名：</label>
            <form:input path="userNickName" htmlEscape="false" maxlength="100" class="input-medium"/>
        </li>
		<li><label>电话号码：</label>
            <form:input path="userPhoneNo" htmlEscape="false" maxlength="100" class="input-medium"/>
        </li>
        <li><label>开始时间：</label>
            <input name="startDate" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
                   value="<fmt:formatDate value="${withdrawCashRemind.startDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
        </li>
        <li><label>结束时间：</label>
            <input name="endDate" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
                   value="<fmt:formatDate value="${withdrawCashRemind.endDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
        </li>
        <li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
        <li class="clearfix"></li>
    </ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			 <tr>
				<th>主键</th>
				<th>用户名</th>
				<th>用户手机号</th>
				<th>用户等级</th>
				<th>是否VIP</th>
				<th>催办时间</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="withdrawCashRemind">
			<tr>
			<td>
				${withdrawCashRemind.id}
            </td>
            <td>
				${withdrawCashRemind.userNickName}
            </td>
		   <td>
				${withdrawCashRemind.userPhoneNo}
            </td>
            <td>
				${withdrawCashRemind.userLevel}
            </td>
            <td>
                <c:choose>
                    <c:when test="${withdrawCashRemind.userIsVip == '1'}">
                        是
                    </c:when>
                    <c:when test="${withdrawCashRemind.userIsVip == '0'}">
                        否
                    </c:when>
                    <c:otherwise>${withdrawCashRemind.userIsVip}</c:otherwise>
                </c:choose>
            </td>
             <td>
				<fmt:formatDate value="${systemAnnouncement.createDate}" pattern="yyyy-MM-dd"/>
			</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>